import { Injectable } from '@nestjs/common';
import { TypeOrmCrudService } from '@dataui/crud-typeorm';
import { FileUpload } from '@/module/file-upload/entities/file-upload.entity';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';

@Injectable()
export class FileUploadService extends TypeOrmCrudService<FileUpload> {
  constructor(@InjectRepository(FileUpload) repo: Repository<FileUpload>) {
    super(repo);
  }
}
